package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.EquipmentServiceBillingSettings;
import org.apache.ibatis.annotations.Param;

/**
 * 设备服务计费设置Mapper接口
 *
 * @author ruoyi
 * @date 2025-05-09
 */
public interface EquipmentServiceBillingSettingsMapper
{
    /**
     * 通过id查询设备服务计费设置
     *
     * @param id 设备服务计费设置主键
     * @return 设备服务计费设置
     */
    public EquipmentServiceBillingSettings selectEquipmentServiceBillingSettingsById(Long id);

    /**
     * 查询设备服务计费设置列表
     *
     * @param storeName 门店名称
     * @return 设备服务计费设置集合
     */
    public List<EquipmentServiceBillingSettings> selectEquipmentServiceBillingSettingsListByName(@Param("storeName") String storeName);

    /**
     * 新增设备服务计费设置
     *
     * @param equipmentServiceBillingSettings 设备服务计费设置
     * @return 结果
     */
    public int insertEquipmentServiceBillingSettings(EquipmentServiceBillingSettings equipmentServiceBillingSettings);

    /**
     * 修改设备服务计费设置
     *
     * @param equipmentServiceBillingSettings 设备服务计费设置
     * @return 结果
     */
    public int updateEquipmentServiceBillingSettings(EquipmentServiceBillingSettings equipmentServiceBillingSettings);

    /**
     * 通过id删除设备服务计费设置信息
     *
     * @param id 设备服务计费设置主键
     * @return 结果
     */
    public int deleteEquipmentServiceBillingSettingsById(Long id);

    /**
     * 通过id批量删除设备服务计费设置信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentServiceBillingSettingsByIds(Long[] ids);
}
